package com.scorpio;


import com.shooter.dao.BaseDataDb;
import com.shooter.note.Id;

/**
 * 用户 数据库
 * Created by BLACK on 2017/10/8.
 */
public class Db_User extends BaseDataDb {
    //id字段
    @Id
    private String id;
    //网名
    private String netname;
    //手机
    private String phone;
    //头像路径
    private String headImageUrl;
    //添加时间
    private String add_time;
    //登录信息 计算方式 = MD5(登录时间 + ip + 用户id + 8位随机数)
    private String token;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNetname() {
        return netname;
    }

    public void setNetname(String netname) {
        this.netname = netname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getHeadImageUrl() {
        return headImageUrl;
    }

    public void setHeadImageUrl(String headImageUrl) {
        this.headImageUrl = headImageUrl;
    }

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
